//
//  DYJDateListTableViewCell.m
//  Piece
//
//  Created by dllo on 16/6/12.
//  Copyright © 2016年 Northeast Dianli University. All rights reserved.
//

#import "DYJDateListTableViewCell.h"

@implementation DYJDateListTableViewCell
- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        _dateLabel = [[UILabel alloc] init];
        _dateLabel.textColor = [UIColor colorWithRed:0.76 green:0.79 blue:0.83 alpha:1.00];
        [self.contentView addSubview:_dateLabel];
        
        _arrowImageView = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"forward_info"]];
        [self.contentView addSubview:_arrowImageView];
    }
    return self;
}
- (void)layoutSubviews
{
    [super layoutSubviews];
    self.dateLabel.frame = CGRectMake(15, 10, 150, 30);

    self.arrowImageView.frame = CGRectMake(ScreenWidth - 25, self.frame.size.height / 2.0 - 5, 6, 10);

    self.arrowImageView.frame = CGRectMake(ScreenWidth - 25, (self.bounds.size.height - 10) / 2 , 6, 10);

}
- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
